From 2c07b091b6037b980484d9a16a0f9d8aaf0cb912 Mon Sep 17 00:00:00 2001 From: =?utf8?q?T=C3=A9o=20Mazars?= Date: Sun, 4 Aug 2013 20:14:31 +0200 Subject: [PATCH] tests: output with more details when grayscale_to_rgb fails --- tests/grayscale_to_rgb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/grayscale_to_rgb.c b/tests/grayscale_to_rgb.c index 6658f7f..7da0c86 100644 --- a/tests/grayscale_to_rgb.c +++ b/tests/grayscale_to_rgb.c @@ -61,7 +61,8 @@ test (void) { if (rgb_buf[i] != rgb_buf_ref[i]) { - babl_log ("index %i is problematic", i); + babl_log ("index %i is problematic : %f instead of %f", + i, rgb_buf[i], rgb_buf_ref[i]); OK = 0; } } -- 2.30.2